set(test_SRC
    test_main.cpp
    lang/core/test_bytestream.cpp
    lang/core/test_tokenstream.cpp
    lang/core/test_lexer.cpp
    lang/utils/test_text.cpp
    lang/utils/test_concat.cpp)

add_executable(test_${PROJECT_NAME} ${test_SRC})
target_compile_definitions(test_${PROJECT_NAME} PRIVATE CATCH_CONFIG_ENABLE_BENCHMARKING)
target_include_directories(test_${PROJECT_NAME} PUBLIC ${PROJECT_SOURCE_DIR}/include)
target_link_libraries(test_${PROJECT_NAME} ${PROJECT_NAME})
